in_file = open('data/sales.txt', encoding='utf-8')
lines1 = [line.rstrip() for line in in_file]
print(lines1)
in_file.close()
lines2 = list(map(lambda line: line.rstrip(), open('data/sales.txt', encoding='utf-8')))
print(lines2)